#!/bin/bash
#SBATCH --account=def-raveeg1
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=32
#SBATCH --mem=120000
#SBATCH --time=0-0:59           # time (DD-HH:MM)
#SBATCH --mail-user=<raveeg1@mcmaster.ca>
#SBATCH --mail-type=BEGIN
#SBATCH --mail-type=END
#SBATCH --mail-type=FAIL
#SBATCH --mail-type=REQUEUE
#SBATCH --mail-type=ALL
cd ~/scratch/all_moments_v1/calibration_earnings_2019_v1
mpif90 params.f90 mini.f90 gridearnings.f90 calibrate.f90 main.f90 -o ./main
mpirun -np 64 ./main
